# -*- coding=utf8 -*-

'''
线性单元
http://localhost:4000/blog/neural-network-easy-learning.html
'''

import Perceptron.perceptron as pp

f = lambda x : x

class LinearUnit(pp.Perceptron):
    def __init__(self,input_num):
        '''初始化线性单元，设置输入参数的个数'''
        pp.Perceptron.__init__(self, input_num, f)

